#include"list.h"

void LTtest01()
{
	LTNode* plist = NULL;
	LTInit(&plist);
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPrint(plist);
	/*LTPushFront(plist, 4);
	LTPushFront(plist, 5);
	LTPushFront(plist, 6);*/
	/*LTPrint(plist);*/
	/*LTPopBack(plist);
	LTPrint(plist);
	LTPopBack(plist);
	LTPrint(plist);
	LTPopBack(plist);
	LTPrint(plist);*/
	/*LTPopFront(plist);
	LTPrint(plist);
	LTPopFront(plist);
	LTPrint(plist);
	LTPopFront(plist);
	LTPrint(plist);*/
	LTNode* pos = LTFind(plist, 3);
	/*LTInsert(pos, 6);
	LTPrint(plist);*/
	LTErase(pos);
	LTPrint(plist);
	LTDestroy(plist);
	plist = NULL;
}

int main()
{
	LTtest01();

	return 0;
}